package chapter10;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Random;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @author lzy
 * @create 2018-03-21 下午3:28
 */
public class RandomTest {
    private static final Logger LOGGER = LoggerFactory.getLogger(RandomTest.class);

    public static void main(String[] args) {
        Random random = new Random();
        for (int i = 0; i < 10; i++) {
            LOGGER.info("random-{}:{}", i, random.nextInt(100));
        }
    }
}
